|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.doclinx.ftxml.CatalogSearchException
This class comprises the exception thrown by the CatalogSearch class. All CatalogSearch methods either return a value or void if OK. All errors are returned thrown with a message and the error code available to the catching code.
CatalogSearch
,
Serialized FormConstructor Summary | |
CatalogSearchException()
Default constructor -- should never see this exception. |
|
CatalogSearchException(int iErrorCode)
CatalogSearch exception constructor with indicated error code. |
|
CatalogSearchException(int iErrorCode,
java.lang.Throwable rootCause)
CatalogSearch exception constructor with indicated error code + root cause |
|
CatalogSearchException(java.lang.String sErrorMessage)
CatalogSearch exception with only a message. |
|
CatalogSearchException(java.lang.String sErrorMessage,
int iErrorCode)
CatalogSearch exception constructor with indicated error code + message. |
|
CatalogSearchException(java.lang.String sErrorMessage,
int iErrorCode,
java.lang.Throwable rootCause)
CatalogSearch exception constructor with indicated error code + message + root cause |
|
CatalogSearchException(java.lang.String sErrorMessage,
java.lang.Throwable rootCause)
CatalogSearch exception with only a message + root cause |
Method Summary | |
int |
getErrorCode()
|
java.lang.String |
getErrorMessage(int iErrorCode)
|
java.lang.String |
getErrorMessage(java.lang.String sMessage,
int iErrorCode)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CatalogSearchException()
**none**
public CatalogSearchException(java.lang.String sErrorMessage)
sErrorMessage
- Error message.
**none**
public CatalogSearchException(java.lang.String sErrorMessage, java.lang.Throwable rootCause)
sErrorMessage
- Error message.rootCause
- Throwable that caused this exception
**none**
public CatalogSearchException(int iErrorCode)
iErrorCode
- Code number of error, always < 0.
**none**
error codes values.
public CatalogSearchException(int iErrorCode, java.lang.Throwable rootCause)
iErrorCode
- Code number of error, always < 0.rootCause
- Throwable that caused this exception
**none**
error codes values.
public CatalogSearchException(java.lang.String sErrorMessage, int iErrorCode)
iErrorCode
- Code number of error, always < 0.sErrorMessage
- Additional message to include with code message.
**none**
error codes values.
public CatalogSearchException(java.lang.String sErrorMessage, int iErrorCode, java.lang.Throwable rootCause)
iErrorCode
- Code number of error, always < 0.sErrorMessage
- Additional message to include with code message.rootCause
- Throwable that caused this exception
**none**
error codes values.
Method Detail |
public int getErrorCode()
public java.lang.String getErrorMessage(int iErrorCode)
public java.lang.String getErrorMessage(java.lang.String sMessage, int iErrorCode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |